-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Union & enum syntax #103
Union & enum syntax #103
Conversation
Benchmarking factorial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why Foo.Bar instead of Foo::Bar?
I used Foo.Bar as it was the simplest to implement, given that the dot notation is used for paths and structs. |
I'm not sure if unions should allow generics, since they will be mostly for use in ffi and/or within std. Other than that looks good. |
Adds support for parsing Enum and Union, this includes: